[gd_scene load_steps=5 format=3 uid="uid://maa5l5k7mcbw"]

[ext_resource type="Script" path="res://scenes/ui/menu/settings.gd" id="1_73ipv"]
[ext_resource type="Script" path="res://scenes/ui/menu/MusicSlider.gd" id="2_lcmip"]
[ext_resource type="Texture2D" uid="uid://gycx3jparorr" path="res://textures/slider/blue_ellipse.png" id="2_qp33y"]
[ext_resource type="StyleBox" uid="uid://brkhwvrrcq2kx" path="res://textures/slider/grabber_area_style_box_flat.tres" id="3_667nb"]

[node name="Setting" type="CanvasLayer"]
script = ExtResource("1_73ipv")

[node name="Settings" type="Control" parent="."]
texture_filter = 1
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="ColorRect" type="ColorRect" parent="Settings"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -1.0
offset_top = 4.0
offset_right = -1.0
offset_bottom = 4.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.898039, 0.823529, 0.513726, 0.737255)

[node name="<-- button_2" type="Button" parent="Settings"]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.977
anchor_right = 0.011
anchor_bottom = 1.0
offset_left = 18.0
offset_top = -49.096
offset_right = 50.0
offset_bottom = -18.096
grow_vertical = 0
text = "<-"
metadata/_edit_lock_ = true

[node name="HBoxContainer" type="HBoxContainer" parent="Settings"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -31.0
offset_right = 31.0
offset_bottom = 32.0
grow_horizontal = 2
scale = Vector2(2, 2)
theme_override_constants/separation = 30

[node name="Label" type="Label" parent="Settings/HBoxContainer"]
layout_mode = 2
text = "SETTINGS_KEY1"

[node name="MusicSlider" type="HSlider" parent="Settings/HBoxContainer"]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
size_flags_vertical = 4
theme_override_icons/grabber = ExtResource("2_qp33y")
theme_override_icons/grabber_highlight = ExtResource("2_qp33y")
theme_override_styles/grabber_area = ExtResource("3_667nb")
max_value = 1.0
step = 0.05
script = ExtResource("2_lcmip")

[node name="HBoxContainer2" type="HBoxContainer" parent="Settings"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -87.0
offset_top = 49.0
offset_right = 33.0
offset_bottom = 81.0
grow_horizontal = 2
scale = Vector2(2, 2)
theme_override_constants/separation = 30

[node name="Label" type="Label" parent="Settings/HBoxContainer2"]
layout_mode = 2
text = "Language en"

[node name="CheckButton" type="CheckButton" parent="Settings/HBoxContainer2"]
layout_mode = 2
button_mask = 7

[node name="ru" type="Label" parent="Settings/HBoxContainer2"]
layout_mode = 2
text = "РУССКИЙ
"

[node name="VBoxContainer" type="VBoxContainer" parent="Settings"]
visible = false
layout_mode = 1
offset_right = 62.0
offset_bottom = 32.0
scale = Vector2(2, 2)

[connection signal="pressed" from="Settings/<-- button_2" to="." method="_on__button_2_pressed"]
[connection signal="mouse_exited" from="Settings/HBoxContainer/MusicSlider" to="Settings/HBoxContainer/MusicSlider" method="_on_mouse_exited"]
[connection signal="value_changed" from="Settings/HBoxContainer/MusicSlider" to="Settings/HBoxContainer/MusicSlider" method="_on_value_changed"]
[connection signal="pressed" from="Settings/HBoxContainer2/CheckButton" to="." method="_on_check_button_pressed"]
